// pages/community/fans/fans.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    type: 'fans',
    fansList: [{
      name: '精致的猪猪女孩',
      userLogo: 'https://app-1256684088.cos.ap-beijing.myqcloud.com/wujieImages/userLogoImg.png',
      time: '2018.02.23  12:11',
      behavior: '关注了你'
    }, {
      name: '精致的猪猪女孩',
      userLogo: 'https://app-1256684088.cos.ap-beijing.myqcloud.com/wujieImages/userLogoImg.png',
      time: '2018.02.23  12:11',
      behavior: '关注了你'
    }, {
      name: '精致的猪猪女孩',
      userLogo: 'https://app-1256684088.cos.ap-beijing.myqcloud.com/wujieImages/userLogoImg.png',
      time: '2018.02.23  12:11',
      behavior: '关注了你'
    }, {
      name: '精致的猪猪女孩',
      userLogo: 'https://app-1256684088.cos.ap-beijing.myqcloud.com/wujieImages/userLogoImg.png',
      time: '2018.02.23  12:11',
      behavior: '关注了你'
    }, {
      name: '精致的猪猪女孩',
      userLogo: 'https://app-1256684088.cos.ap-beijing.myqcloud.com/wujieImages/userLogoImg.png',
      time: '2018.02.23  12:11',
      behavior: '关注了你'
    }, {
      name: '精致的猪猪女孩',
      userLogo: 'https://app-1256684088.cos.ap-beijing.myqcloud.com/wujieImages/userLogoImg.png',
      time: '2018.02.23  12:11',
      behavior: '关注了你'
    }, {
      name: '精致的猪猪女孩',
      userLogo: 'https://app-1256684088.cos.ap-beijing.myqcloud.com/wujieImages/userLogoImg.png',
      time: '2018.02.23  12:11',
      behavior: '关注了你'
    }, ],
    commentList: [{
      name: '精致的猪猪女孩',
      userLogo: 'https://app-1256684088.cos.ap-beijing.myqcloud.com/wujieImages/userLogoImg.png',
      time: '2018.02.23  12:11',
      behavior: '评论了你'
    }, {
      name: '精致的猪猪女孩',
      userLogo: 'https://app-1256684088.cos.ap-beijing.myqcloud.com/wujieImages/userLogoImg.png',
      time: '2018.02.23  12:11',
      behavior: '评论了你'
    }, {
      name: '精致的猪猪女孩',
      userLogo: 'https://app-1256684088.cos.ap-beijing.myqcloud.com/wujieImages/userLogoImg.png',
      time: '2018.02.23  12:11',
      behavior: '评论了你'
    }, {
      name: '精致的猪猪女孩',
      userLogo: 'https://app-1256684088.cos.ap-beijing.myqcloud.com/wujieImages/userLogoImg.png',
      time: '2018.02.23  12:11',
      behavior: '评论了你'
    }, {
      name: '精致的猪猪女孩',
      userLogo: 'https://app-1256684088.cos.ap-beijing.myqcloud.com/wujieImages/userLogoImg.png',
      time: '2018.02.23  12:11',
      behavior: '评论了你'
    }, {
      name: '精致的猪猪女孩',
      userLogo: 'https://app-1256684088.cos.ap-beijing.myqcloud.com/wujieImages/userLogoImg.png',
      time: '2018.02.23  12:11',
      behavior: '评论了你'
    }, {
      name: '精致的猪猪女孩',
      userLogo: 'https://app-1256684088.cos.ap-beijing.myqcloud.com/wujieImages/userLogoImg.png',
      time: '2018.02.23  12:11',
      behavior: '评论了你'
    }, ]
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function(options) {
    if (options.from === 'comment') {
      // 评论
      wx.setNavigationBarTitle({
        title: '评论',
      })
      this.setData({
        type: 'comment'
      })
    }
  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function() {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function() {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function() {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function() {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function() {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function() {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function() {

  }
})